//
//  BFAboutViewController.m
//  13KModel
//
//  Created by jack on 5/09/12.
//  Copyright (c) 2012 __butterfly__. All rights reserved.
//

#import "BFAboutViewController.h"

@interface BFAboutViewController ()
@end

@implementation BFAboutViewController

- (void)viewDidLoad
{
    [super viewDidLoad];

    [self initNavBar];
}

- (void)initNavBar
{
    // 返回按钮
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[UIImage imageNamed:@"icon_back.png"] forState:UIControlStateNormal];
    [button addTarget:self
               action:@selector(navigateToPrevView) forControlEvents:UIControlEventTouchUpInside];
    [button setFrame:CGRectMake(0, 0,
                                button.imageView.image.size.width,
                                button.imageView.image.size.height)];
    UIBarButtonItem *backButton = [[UIBarButtonItem alloc] initWithCustomView:button];
    self.navigationItem.leftBarButtonItem = backButton;
    self.title = @"关于";
}

@end
